package com.hlkj.pay.service.order;
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */

import com.hlkj.framework.common.pojo.PageResult;
import com.hlkj.pay.dto.order.NotifyOrderQueryDto;
import com.hlkj.pay.infrastructure.model.order.OrderNotifyDO;
/**
 * @author HlpayTeam
 * @date 2024/11/07 10:46
 */
public interface IOrderNotifyService {
	/**
	 *
	 * @param orderNotify
	 */
	void addOrderNotify(OrderNotifyDO orderNotify);
	/**
	 *
	 * @param notifyOrderQueryDto
	 * @return
	 */
	PageResult<OrderNotifyDO> queryPage(NotifyOrderQueryDto notifyOrderQueryDto);
	/**
	 *
	 * @param id
	 * @return
	 */
	OrderNotifyDO queryDetail(Long id);
	/**
	 *
	 * @param payOrderNo
	 * @param notifyType
	 * @return
	 */
	OrderNotifyDO queryDetail(String payOrderNo,Integer notifyType);
	/**
	 *
	 * @param notifyDO
	 */
	void updateOrderNotify(OrderNotifyDO notifyDO);
}
